<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Float Layout Example</title>
    <style>
        .container {
            width: 100%;  /* 容器占满整个页面宽度 */
            text-align: center;
        }
        .column {
            width: 30%; /* 每列占宽度的 30% */
            background-color: lightblue;
            margin: 10px;
            float: left; /* 左浮动 */
            text-align: center;
        }
        .clearfix::after {
            content: "";
            display: block;
            clear: both; /* 清除浮动 */
        }
    </style>
</head>
<body>
<div class="container clearfix">
    <div class="column">Column 1</div>
    <div class="column">Column 2</div>
    <div class="column">Column 3</div>
</div>
</body>
</html>
